/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package podologia.beansDB;

import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 *
 * @author Hernan
 */
@Entity
@Table(name = "examenneuro")
@NamedQueries({@NamedQuery(name = "Examenneuro.findByIdExamen", query = "SELECT e FROM Examenneuro e WHERE e.idExamen = :idExamen"), @NamedQuery(name = "Examenneuro.findByRutilianoDer", query = "SELECT e FROM Examenneuro e WHERE e.rutilianoDer = :rutilianoDer"), @NamedQuery(name = "Examenneuro.findByRutilianoIzq", query = "SELECT e FROM Examenneuro e WHERE e.rutilianoIzq = :rutilianoIzq"), @NamedQuery(name = "Examenneuro.findByAquilianoDer", query = "SELECT e FROM Examenneuro e WHERE e.aquilianoDer = :aquilianoDer"), @NamedQuery(name = "Examenneuro.findByAquilianoIzq", query = "SELECT e FROM Examenneuro e WHERE e.aquilianoIzq = :aquilianoIzq"), @NamedQuery(name = "Examenneuro.findByAbanico", query = "SELECT e FROM Examenneuro e WHERE e.abanico = :abanico"), @NamedQuery(name = "Examenneuro.findByDolorDer", query = "SELECT e FROM Examenneuro e WHERE e.dolorDer = :dolorDer"), @NamedQuery(name = "Examenneuro.findByDolorIzq", query = "SELECT e FROM Examenneuro e WHERE e.dolorIzq = :dolorIzq"), @NamedQuery(name = "Examenneuro.findByTempDer", query = "SELECT e FROM Examenneuro e WHERE e.tempDer = :tempDer"), @NamedQuery(name = "Examenneuro.findByTempIzq", query = "SELECT e FROM Examenneuro e WHERE e.tempIzq = :tempIzq"), @NamedQuery(name = "Examenneuro.findByTactilDer", query = "SELECT e FROM Examenneuro e WHERE e.tactilDer = :tactilDer"), @NamedQuery(name = "Examenneuro.findByTactilIzq", query = "SELECT e FROM Examenneuro e WHERE e.tactilIzq = :tactilIzq")})
public class Examenneuro implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE)
    @Column(name = "idExamen", nullable = false)
    private Integer idExamen;
    @Column(name = "rutilianoDer")
    private String rutilianoDer;
    @Column(name = "rutilianoIzq")
    private String rutilianoIzq;
    @Column(name = "aquilianoDer")
    private String aquilianoDer;
    @Column(name = "aquilianoIzq")
    private String aquilianoIzq;
    @Column(name = "abanico")
    private String abanico;
    @Column(name = "dolorDer")
    private String dolorDer;
    @Column(name = "dolorIzq")
    private String dolorIzq;
    @Column(name = "tempDer")
    private String tempDer;
    @Column(name = "tempIzq")
    private String tempIzq;
    @Column(name = "tactilDer")
    private String tactilDer;
    @Column(name = "tactilIzq")
    private String tactilIzq;
    @OneToMany(mappedBy = "idExaNeuro")
    private Collection<Atencion> atencionCollection;

    public Examenneuro() {
    }

    public Examenneuro(Integer idExamen) {
        this.idExamen = idExamen;
    }

    public Integer getIdExamen() {
        return idExamen;
    }

    public void setIdExamen(Integer idExamen) {
        this.idExamen = idExamen;
    }

    public String getRutilianoDer() {
        return rutilianoDer;
    }

    public void setRutilianoDer(String rutilianoDer) {
        this.rutilianoDer = rutilianoDer;
    }

    public String getRutilianoIzq() {
        return rutilianoIzq;
    }

    public void setRutilianoIzq(String rutilianoIzq) {
        this.rutilianoIzq = rutilianoIzq;
    }

    public String getAquilianoDer() {
        return aquilianoDer;
    }

    public void setAquilianoDer(String aquilianoDer) {
        this.aquilianoDer = aquilianoDer;
    }

    public String getAquilianoIzq() {
        return aquilianoIzq;
    }

    public void setAquilianoIzq(String aquilianoIzq) {
        this.aquilianoIzq = aquilianoIzq;
    }

    public String getAbanico() {
        return abanico;
    }

    public void setAbanico(String abanico) {
        this.abanico = abanico;
    }

    public String getDolorDer() {
        return dolorDer;
    }

    public void setDolorDer(String dolorDer) {
        this.dolorDer = dolorDer;
    }

    public String getDolorIzq() {
        return dolorIzq;
    }

    public void setDolorIzq(String dolorIzq) {
        this.dolorIzq = dolorIzq;
    }

    public String getTempDer() {
        return tempDer;
    }

    public void setTempDer(String tempDer) {
        this.tempDer = tempDer;
    }

    public String getTempIzq() {
        return tempIzq;
    }

    public void setTempIzq(String tempIzq) {
        this.tempIzq = tempIzq;
    }

    public String getTactilDer() {
        return tactilDer;
    }

    public void setTactilDer(String tactilDer) {
        this.tactilDer = tactilDer;
    }

    public String getTactilIzq() {
        return tactilIzq;
    }

    public void setTactilIzq(String tactilIzq) {
        this.tactilIzq = tactilIzq;
    }

    public Collection<Atencion> getAtencionCollection() {
        return atencionCollection;
    }

    public void setAtencionCollection(Collection<Atencion> atencionCollection) {
        this.atencionCollection = atencionCollection;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (idExamen != null ? idExamen.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Examenneuro)) {
            return false;
        }
        Examenneuro other = (Examenneuro) object;
        if ((this.idExamen == null && other.idExamen != null) || (this.idExamen != null && !this.idExamen.equals(other.idExamen))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "podologia.beansDB.Examenneuro[idExamen=" + idExamen + "]";
    }

}
